tests/sizes: Fix call to commit_transaction()
authorDan Nicholson <nicholson@endlessm.com>
Mon, 8 Jul 2019 21:39:11 +0000 (15:39 -0600)
committerAtomic Bot <atomic-devel@projectatomic.io>
Tue, 23 Jul 2019 12:49:26 +0000 (12:49 +0000)
commit2312caad7633d7aae11adebd87e4f932431bf49a
tree15b905ae4fe0d27247f8bffe6755f5dbac858c01
parenta904f434cd10471e02465781d62669321dea94d7
tests/sizes: Fix call to commit_transaction()

The GIR for commit_transaction() only has a single argument for the
GCancellable. Calling it with 2 arguments prints a GJS warning:

Gjs-Message: 15:37:40.287: JS WARNING: [/home/dan/src/ostree/tests/test-sizes.js 56]: Too many arguments to method OSTree.Repo.commit_transaction: expected 1, got 2

Currently this is harmless, but it could become a hard error in GJS at
some point.

Closes: #1884
Approved by: cgwalters
tests/test-sizes.js